package com.ruoyi.forum.dao;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.forum.domain.CircleLabel;
import com.ruoyi.forum.mapper.CircleLabelMapper;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

/**
 * DAO
 *
 * @author lxk
 * @date 2018-10-17 10:03:53
 */
@Repository
public class CircleLabelDao extends ServiceImpl<CircleLabelMapper, CircleLabel> {

    @Resource
    private CircleLabelMapper circleLabelMapper;

    public long countBySid() {
        return circleLabelMapper.countBySid();
    }
}